// import api from './index'

import service from '@/utils/request'

const BASE_URL = 'api-uaa'
// 用户登录
export function userLogin(data) {
  return service({
    url: `${BASE_URL}/oauth/user/login`,
    method: 'post',
    data: data
  })
}
// 获取验证码
export function getCaptcha() {
  return service({
    url: 'api-uaa/oauth/captcha',
    method: 'get',
    responseType: 'blob'
  })
}
